package com.stars.entity.dto.pas;

import lombok.Data;
import java.math.BigDecimal;
import com.stars.common.annotation.Dict;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.stars.common.base.dto.BaseAppDto;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Title: 采购单明细表DTO
 * @author DJ
 * @date 2019-11-12
 * @version V1.0
 *
 */
@Data
public class PasSaleOrdersInfoDTO extends BaseAppDto{

	/**订单ID*/
	@ApiModelProperty(value ="订单ID",name = "pasSaleOrdersId")
	private String pasSaleOrdersId;
	/**物料ID*/
	@ApiModelProperty(value ="物料ID",name = "productId")
	private String productId;
	/**数量*/
	@ApiModelProperty(value ="数量",name = "number")
	private Long number;
	/**单价（元）*/
	@ApiModelProperty(value ="单价（元）",name = "price")
	private Double price;
	/**折扣*/
	@ApiModelProperty(value ="折扣",name = "discount")
	private Double discount;
	/**折扣价（元）*/
	@ApiModelProperty(value ="折扣价（元）",name = "discountPrice")
	private Double discountPrice;
	/**总价*/
	@ApiModelProperty(value ="总价",name = "sumPrice")
	private Double sumPrice;
	/**完成数量*/
	@ApiModelProperty(value ="完成数量",name = "doneNumber")
	private Integer doneNumber;
	/**状态*/
	@ApiModelProperty(value ="状态",name = "status")
	private Integer status;
	/**物料名称*/
	@ApiModelProperty(value ="物料名称",name = "productName")
	@Dict(dictTable = "pas_product",dictCode = "id",dictName="product_name",dictSource="product_id")
	private String productName;
	/**物料规格*/
	@ApiModelProperty(value ="物料规格",name = "productGg")
	@Dict(dictTable = "pas_product",dictCode = "id",dictName="product_gg",dictSource="product_id")
	private String productGg;
	@Dict(dictTable = "pas_product",dictCode = "id",dictName="product_ph",dictSource="product_id")
	@ApiModelProperty(value ="牌号",name = "productPh")
	private String productPh;
	@ApiModelProperty(value ="库位ID",name = "stockSiteId")
	private String stockSiteId;
	/**库位*/
	@ApiModelProperty(value ="库位",name = "stockSite")
	private String stockSite;
	/**排号*/
	@ApiModelProperty(value ="排号",name = "stockCode")
	private String stockCode;
	/**库存数量*/
	@ApiModelProperty(value ="库存数量",name = "stockNum")
	private Integer stockNum;
	@ApiModelProperty(value ="未发数量",name = "notNumber")
	private Long notNumber;
	@ApiModelProperty(value ="月结状态",name = "monthStatus")
	private String monthStatus;
	@ApiModelProperty(value ="客户料号",name = "customerProduct")
	private String customerProduct;
}